import Vue from 'vue'
import App from './App'
import config from './common/config.js'
import $request from './common/request.js'
import store from './store'

import task from './pages/task/index.vue'
Vue.component('task',task)



import report from './pages/report/index.vue'
Vue.component('report',report)

import basedata from './pages/basedata/index.vue'
Vue.component('basedata',basedata)

import mine from './pages/mine/index.vue'
Vue.component('mine',mine)

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)

import custom from './colorui/components/custom.vue'
Vue.component('custom',custom)

Vue.config.productionTip = false

Vue.prototype.$store = store;
Vue.prototype.$websiteBaseUrl = config.websiteBaseUrl;
Vue.prototype.$request = $request;
App.mpType = 'app'

const app = new Vue({
    store,
    ...App
})
app.$mount()
